package com.sfddata.musicpillow.user.service;

import com.sfddata.musicpillow.user.entity.SleepImprovePlan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sfddata.musicpillow.user.entity.SleepImprovePlanVo;
import com.sfddata.musicpillow.user.entity.SleepImprovePlanWithMathType;

import java.util.List;

/**
* @author jiangyingou
* @description 针对表【sleep_improve_plan】的数据库操作Service
* @createDate 2023-08-21 13:49:52
*/
public interface SleepImprovePlanService extends IService<SleepImprovePlan> {

    String setPlan(SleepImprovePlanVo plan, String id) throws Exception;

    void savePlan(SleepImprovePlanVo sleepImprovePlan, String id, String scheduleId);

    List<SleepImprovePlanWithMathType> getByUserid(String id);
}
